layui.use(['jquery', 'element'], function() {
	var $ = layui.jquery,
		element = layui.element;

	$(".vertical").on('click', function() {
		$('.laobuluo-nav-tree').slideToggle();
	});

	var rotate = $('.laobuluo-head').find('.head-avatar');
	rotate.mouseenter(function() {
		
			$(this).addClass('layui-anim-rotate');
		})
		.mouseleave(function() {
			
			$(this).removeClass('layui-anim-rotate');
	});
	
	
 
});
